<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
    <jsp:include page="/static/common/common.jsp"/>
    <!--department js代码-->
    <script src="/static/js/studentTracking.js"></script>
    <title>员工管理</title>
</head>
<body>
<%--数据表格--%>
<table id="stuTk_datagrid">
</table>

<%--dept_toolbar工具框--%>
<div id="stuTk_toolbar">
    <a class="easyui-linkbutton" iconCls="icon-edit" plain="true"
       data-cmd="edit">编辑</a>
    <a id="stuTk_look" class="easyui-linkbutton" iconCls="icon-view" plain="true">查看</a>
    <a class="easyui-linkbutton" iconCls="icon-refresh" plain="true" data-cmd="renovation">刷新</a>
    <a id="stuTk_audit" class="easyui-linkbutton" iconCls="icon-man" plain="true" data-cmd="audit">审核</a>
</div>

<%--弹出框--%>
<div id="stuTk_dialog">
    <form id="clientTraceAdd_form" method="post">
        <input type="hidden" name="id">
        <input type="hidden" name="clientId">
        <table>
            <tbody>
            <tr align="right">
                <td><span style="font-size: 14px">学员:</span></td>
                <td><input class="easyui-combobox" name="potentialStudent.id"
                           data-options="valueField:'id',textField:'name',url:'/potentialStudent/all.do',panelHeight:'auto'"
                           style="width: 130px;height: 22px;"/></td>
                <td><span style="font-size: 14px">QQ:</span></td>
                <td><input class="easyui-textbox" name="qqNum" style="width: 120px;height: 22px;"/></td>
                <td><span style="font-size: 14px">Email:</span></td>
                <td><input class="easyui-textbox" name="email" style="width: 120px;height: 22px;"/></td>
            </tr>
            <tr align="right">
                <td><span style="font-size: 14px">电话:</span></td>
                <td><input class="easyui-textbox" name="tel" style="width: 130px;height: 22px;"/></td>
                <td><span style="font-size: 14px">当前状态:</span></td>
                <td><input class="easyui-combobox" name="state.id" style="width: 120px;height: 22px;"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionaryItem/getItemBySn.do?sn=state',panelHeight:'auto'"/>
                </td>
                <td><span style="font-size: 14px">营销人员:</span></td>
                <td><input class="easyui-combobox" name="consultant.id"
                           data-options="valueField:'id',textField:'username',url:'/employee/list.do',panelHeight:'auto'"
                           style="width: 120px;height: 22px;"/></td>
            </tr>
            <tr align="right">
                <td><span style="font-size: 14px">上次跟进:</span></td>
                <td><input class="easyui-datetimebox" name="followupTime" style="width: 130px;height: 22px;"/></td>
                <td><span style="font-size: 14px">所属学校:</span></td>
                <td><input class="easyui-combobox" name="school.id"
                           data-options="valueField:'id',textField:'name',url:'/school/list.do',panelHeight:'auto'"
                           style="width: 120px;height: 22px;"/></td>
                <td><span style="font-size: 14px">意向班级:</span></td>
                <td><input class="easyui-combobox" name="grade.id" style="width: 120px;height: 22px;"
                           data-options="url:'/grade/list.do',textField:'className',valueField:'id',panelHeight:'auto'"/>
                </td>
            </tr>
            <tr align="right">
                <td><span style="font-size: 14px">约访日期:</span></td>
                <td><input id="appointTime" class="easyui-datetimebox" name="appointTime"
                           style="width: 130px;height: 22px;"/></td>
                <td><span style="font-size: 14px">交流方式:</span></td>
                <td><input class="easyui-combobox" name="communicationMethod.id"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionaryItem/getItemBySn.do?sn=communicationMethod',panelHeight:'auto'"
                           style="width: 120px;height: 22px;"/></td>
                <td><span style="font-size: 14px">意向程度:</span></td>
                <td><input class="easyui-combobox" name="wantedLevel.id" style="width: 120px;height: 22px;"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionaryItem/getItemBySn.do?sn=wantedLevel',panelHeight:'auto'"/>
                </td>
            </tr>
            <tr align="right">
                <td><span style="font-size: 14px">下次跟进:</span></td>
                <td><input id="nextFollowTime" class="easyui-datetimebox" name="nextFollowTime"
                           style="width: 130px;height: 22px;"/></td>
                <td><span style="font-size: 14px">跟进目的:</span></td>
                <td><input class="easyui-combobox" name="tracePurpose.id" style="width: 120px;height: 22px;"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionaryItem/getItemBySn.do?sn=tracePurpose',panelHeight:'auto'"/>
                </td>
                <td><span style="font-size: 14px">咨询时长:</span></td>
                <td><input class="easyui-textbox" data-options="value:'分钟'" name="consultDuration"
                           style="width: 120px;height: 22px;"/></td>
            </tr>
            <tr align="right">
                <td><span style="font-size: 14px">摘要:</span></td>
                <td colspan="6" align="left"><input type="textarea" name="focusProblem"
                                                    style="height: 50px;width: 540px"/>
                </td>
            </tr>
            <tr align="right">
                <td><span style="font-size: 14px">交流内容:</span></td>
                <td colspan="6" align="left"><input type="textarea" name="remark" style="height: 50px;width: 540px"/>
                </td>
            </tr>
            </tbody>
        </table>
    </form>
</div>
<div id="audit_dialog">
    <form id="audit_form" method="post">
        <input type="hidden" name="id">
        <table align="center">
            <tr align="right" style="height: 30px">
                <td><span style="font-size: 14px">学员:</span></td>
                <td><input class="easyui-textbox" readonly="readonly" name="potentialStudent.name"
                           style="width: 120px;height: 22px;"/></td>
                </td>
            </tr>
            <tr align="right" style="height: 30px">
                <td><span style="font-size: 14px">咨询人员:</span></td>
                <td><input class="easyui-textbox" readonly="readonly" name="consultant.username"
                           style="width: 120px;height: 22px;"/></td>
            </tr>
            <tr align="right" style="height: 30px">
                <td><span style="font-size: 14px">交流方式:</span></td>
                <td><input class="easyui-textbox" readonly="readonly" name="communicationMethod.name"
                           style="width: 120px;height: 22px;"/>
                </td>
            </tr>
            <tr align="right" style="height: 30px">
                <td><span style="font-size: 14px">评分:</span></td>
                <td><input class="easyui-combobox" name="score.id"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionaryItem/getItemBySn.do?sn=score',panelHeight:'auto'"
                           style="width: 120px;height: 22px;"/></td>
                </td>
            </tr>
            <tr align="right" style="height: 30px">
                <td><span style="font-size: 14px">审核说明:</span></td>
                <td><input class="easyui-textbox" name="auditExplain" style="width: 120px;height: 60px;"/>
                </td>
            </tr>
        </table>
    </form>
</div>

</body>
</html>
